﻿#include "CmdDoPrjCloseTree.h"
#include "PostCommandPy.h"
#include "BaseModule/IBaseSignal.h"

namespace PostCommand
{
    CmdDoPrjCloseTree::CmdDoPrjCloseTree()
        : CommandBase()
    {
        this->initCmdName();
    }

    CmdDoPrjCloseTree::~CmdDoPrjCloseTree()
    {
    }

    bool CmdDoPrjCloseTree::execute()
    {
        emit IBaseSignalInstance->signal_doPrjCloseTree(m_index);
        return true;
    }

    void CmdDoPrjCloseTree::undo()
    {
    }

    void CmdDoPrjCloseTree::redo()
    {
    }

} // namespace PostCommand

